<?php
namespace app\index\logic;

class MistakeLogic extends BaseLogic {

    /**
     * 获取知错就改查询条件
     * @return array
     */
    public function get_search_mistake_maps(){
        //$month_time = get_month_time();
        //$start_time = date('Y-m-d',strtotime($month_time['start_time']));
        //$end_time = date('Y-m-d',strtotime($month_time['end_time']));

        $now_date = date('Y-m-d');

        $maps = [];
        //$maps[] = ['now_date','between',[$start_time,$end_time]];
        $maps[] = ['top_out_time','>=',$now_date];
        return $maps;
    }
}